﻿using System;
using System.Collections.Generic;
using System.Text;
using CGLib.Enums;

namespace CGLib
{
    public class Card
    {
        int player, cardorder;

        Suite suite;
        Value number;

        public Card(Suite suite, Value number)
        {
            this.suite = suite;
            this.number = number;
        }

        /// <summary>
        /// The card suite.
        /// </summary>
        public Suite Suite
        {
            get { return suite; }
            set { suite = value; }
        }

        /// <summary>
        /// The player holding this card.
        /// </summary>
        public int Player
        {
            get { return player; }
            set { player = value; }
        }

        /// <summary>
        /// The order the card is in, for that player.
        /// </summary>
        public int CardOrder
        {
            get { return cardorder; }
            set { cardorder = value; }
        }

        /// <summary>
        /// Card value.
        /// </summary>
        public Value Value
        {
            get { return number; }
            set { number = value; }
        }

    }
}
